add some margin above the launchers label

This commit is contained in:
tibbi 2016-08-13 22:56:54 +02:00
parent 2468c62036
commit 1681584bd4
3 changed files with 2 additions and 26 deletions

View File

@ -18,6 +18,7 @@
<TextView
android:id="@+id/launcher_label"
android:layout_marginTop="@dimen/launcher_padding_smallest"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal|top"

View File

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:id="@+id/launcher_holder"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="@dimen/launcher_padding_large"
android:paddingLeft="@dimen/launcher_padding_small"
android:paddingRight="@dimen/launcher_padding_small"
android:paddingTop="@dimen/launcher_padding_large">
<ImageView
android:id="@+id/launcher_icon"
android:layout_width="@dimen/icon_size"
android:layout_height="@dimen/icon_size"
android:layout_gravity="center"/>
<TextView
android:id="@+id/launcher_label"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal|top"
android:textSize="@dimen/font_size"/>
</LinearLayout>

View File

@ -3,6 +3,7 @@
<dimen name="social_padding">8dp</dimen>
<dimen name="social_logo">40dp</dimen>
<dimen name="settings_padding">8dp</dimen>
<dimen name="launcher_padding_smallest">2dp</dimen>
<dimen name="launcher_padding_small">4dp</dimen>
<dimen name="launcher_padding_large">8dp</dimen>
<dimen name="icon_size">60dp</dimen>