Soru & Cevap

Android resource linking failed hatası

11.09.2019 - 12:36

C:\Users\Pc\Desktop\00\app\src\main\res\layout\leaderboard_item.xml:26: AAPT: error: attribute civ_fill_color (aka com.actsgi.btc:civ_fill_color) not found.


    Bu hatayı alıyorum sebebi nedir

 

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:paddingBottom="15dp"
    android:paddingLeft="?listPreferredItemPaddingLeft"
    android:paddingRight="?listPreferredItemPaddingRight"
    android:paddingTop="15dp"
    >

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        >

        <TextView
            android:id="@+id/userRank"
            android:layout_width="40dp"
            android:layout_height="match_parent"
            android:gravity="center_vertical|center"
            android:textSize="16sp" />

        <de.hdodenhof.circleimageview.CircleImageView
            android:id="@+id/circleImageLeader"
            android:layout_width="40dp"
            android:layout_height="40dp"
            android:layout_gravity="center_vertical"
            app:civ_fill_color="@color/colorWindow"
            app:civ_border_width="2dp"
            app:civ_border_color="@color/colorSecondary"
            android:src="@mipmap/ic_launcher" />
        <LinearLayout
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"

            android:paddingLeft="15dp"
            android:orientation="vertical">

            <TextView
                android:id="@+id/userName"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:ellipsize="end"
                android:maxLines="1"
                style="@style/TextAppearance.AppCompat.Title"
                android:textSize="16sp"/>



            <TextView
                android:id="@+id/userEarn"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                style="@style/TextAppearance.AppCompat.Caption"
                android:text="@string/default_value" />
        </LinearLayout>



    </LinearLayout>

</RelativeLayout>

 

871 Görüntülenme

2 Cevap

Sitedeki sorulara cevap verebilmek için giriş yapın ya da üye olun.

picture-71411-1558791714.jpg
emreaydemir
11.09.2019 - 05:12

civ_fill_color özelliğini kaldırmışlar sanırım onun yerine civ_circle_background_color bunu kullanabilir misin ?

picture-71411-1558791714.jpg
emreaydemir
11.09.2019 - 01:30

Kütüphaneyi implement ettiniz mi ? 
implementation 'de.hdodenhof:circleimageview:3.0.1'

Selçuk Kocadağ
11.09.2019 - 03:19
evet ama sorun devam ediyor