add dns button to linked identity selection

This commit is contained in:
Vincent Breitmoser 2015-01-12 21:04:18 +01:00
parent ea72b29f2d
commit 3bbff31d47
3 changed files with 39 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -66,7 +66,42 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_width="0dip"
android:layout_height="match_parent"
android:text="Website"
android:text="Website (HTTPS)"
android:layout_weight="1"
android:gravity="center_vertical" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dip"
android:layout_marginBottom="4dp"
android:background="?android:attr/listDivider" />
<LinearLayout
android:id="@+id/affirmation_create_dns_button"
android:layout_width="match_parent"
android:layout_height="?android:attr/listPreferredItemHeight"
android:clickable="true"
android:paddingRight="4dp"
style="@style/SelectableItem"
android:orientation="horizontal">
<!-- separate ImageView required for recoloring -->
<ImageView
android:layout_width="60dip"
android:layout_height="60dip"
android:padding="8dp"
android:src="@drawable/dns"
android:layout_gravity="center"
/>
<TextView
android:paddingLeft="8dp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_width="0dip"
android:layout_height="match_parent"
android:text="Domain Name (DNS)"
android:layout_weight="1"
android:gravity="center_vertical" />

View File

@ -236,3 +236,6 @@ Some parts and some libraries are Apache License v2, MIT X11 License (see below)
* Purple color scheme
http://android-holo-colors.com/
* DNS icon
http://www.fatcow.com/free-icons