add checks to launcher icons

This commit is contained in:
tibbi
2016-08-14 11:09:04 +02:00
parent 1681584bd4
commit bb409e6080
6 changed files with 15 additions and 7 deletions

View File

@ -1,10 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <RelativeLayout
android:id="@+id/launcher_holder" android:id="@+id/launcher_holder"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="@dimen/launcher_padding_small" android:paddingBottom="@dimen/launcher_padding_small"
android:paddingLeft="@dimen/launcher_padding_small" android:paddingLeft="@dimen/launcher_padding_small"
android:paddingRight="@dimen/launcher_padding_small" android:paddingRight="@dimen/launcher_padding_small"
@ -12,16 +11,25 @@
<ImageView <ImageView
android:id="@+id/launcher_icon" android:id="@+id/launcher_icon"
android:layout_width="@dimen/icon_size_smaller" android:layout_width="match_parent"
android:layout_height="@dimen/icon_size_smaller" android:layout_height="@dimen/icon_size_smaller"
android:layout_gravity="center"/> android:layout_gravity="center"/>
<TextView <TextView
android:id="@+id/launcher_label" android:id="@+id/launcher_label"
android:layout_marginTop="@dimen/launcher_padding_smallest"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:layout_below="@+id/launcher_icon"
android:layout_marginTop="@dimen/launcher_padding_smallest"
android:gravity="center_horizontal|top" android:gravity="center_horizontal|top"
android:textSize="@dimen/font_size_smaller"/> android:textSize="@dimen/font_size_smaller"/>
</LinearLayout> <ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="top|right"
android:scaleType="fitEnd"
android:src="@mipmap/check"
android:visibility="gone"/>
</RelativeLayout>

Binary file not shown.

After

Width:  |  Height:  |  Size: 962 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB