add expand item to linked id list

This commit is contained in:
Vincent Breitmoser
2015-03-10 04:27:40 +01:00
parent deafe946fd
commit 3b7f21d98a
5 changed files with 79 additions and 5 deletions

View File

@@ -55,7 +55,8 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
android:orientation="vertical"
android:animateLayoutChanges="true">
<TextView
style="@style/CardViewHeader"
@@ -68,6 +69,25 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp" />
<TextView
android:id="@+id/view_key_linked_ids_expander"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:layout_marginBottom="4dp"
android:gravity="center_vertical"
android:drawableTop="@drawable/divider"
android:drawableRight="@drawable/ic_expand_more_black_24dp"
android:drawableEnd="@drawable/ic_expand_more_black_24dp"
android:drawablePadding="3dp"
android:clickable="true"
android:textColor="@color/tertiary_text_light"
android:text="%d more unknown identity types"
android:paddingLeft="8dp"
android:paddingRight="8dp"
style="@style/SelectableItem" />
</LinearLayout>
</android.support.v7.widget.CardView>