corrected paddings
This commit is contained in:
parent
82c6f4a0f3
commit
1aabbb4086
|
|
@ -1,45 +1,43 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:background="@android:color/black"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/black">
|
||||
|
||||
<GridView
|
||||
android:id="@+id/grid"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:horizontalSpacing="@dimen/mis_space_size"
|
||||
android:verticalSpacing="@dimen/mis_space_size"
|
||||
android:paddingBottom="?android:attr/actionBarSize"
|
||||
android:clipToPadding="false"
|
||||
android:numColumns="3"/>
|
||||
android:horizontalSpacing="@dimen/mis_space_size"
|
||||
android:numColumns="3"
|
||||
android:paddingBottom="?android:attr/actionBarSize"
|
||||
android:verticalSpacing="@dimen/mis_space_size"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:clickable="true"
|
||||
android:id="@+id/footer"
|
||||
android:background="#cc000000"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?android:attr/actionBarSize">
|
||||
android:layout_height="?android:attr/actionBarSize"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="#cc000000"
|
||||
android:clickable="true">
|
||||
|
||||
<Button
|
||||
android:id="@+id/category_btn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@null"
|
||||
android:drawablePadding="5dp"
|
||||
android:drawableRight="@drawable/mis_text_indicator"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:textColor="@color/mis_folder_text_color"
|
||||
tools:text="所有图片"
|
||||
android:textSize="16sp"
|
||||
android:gravity="center_vertical"
|
||||
android:drawableRight="@drawable/mis_text_indicator"
|
||||
android:drawablePadding="5dp"
|
||||
android:background="@null"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent" />
|
||||
android:textColor="@color/mis_folder_text_color"
|
||||
android:textSize="16sp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:drawablePadding="10dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:drawablePadding="7dp"
|
||||
android:drawableTop="@drawable/mis_photo_icon"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="@string/mis_tip_take_photo"
|
||||
|
|
|
|||
|
|
@ -1,21 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<me.nereo.multi_image_selector.view.SquareFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent" android:layout_height="match_parent">
|
||||
<me.nereo.multi_image_selector.view.SquareFrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<me.nereo.multi_image_selector.view.SquaredImageView
|
||||
android:id="@+id/image"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/mis_default_error"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/mis_default_error"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/checkmark"
|
||||
android:layout_gravity="top|right"
|
||||
android:layout_marginTop="5.5dp"
|
||||
android:layout_marginRight="5.5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top|right"
|
||||
android:layout_marginRight="4dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/mis_unchecked_button"/>
|
||||
|
||||
</me.nereo.multi_image_selector.view.SquareFrameLayout>
|
||||
Loading…
Reference in New Issue