Improved button style

centered buttons
removed commented-out button
This commit is contained in:
Daniel Albert 2014-06-29 12:33:02 +02:00
parent bd44516576
commit e731dc139f
3 changed files with 12 additions and 21 deletions

View file

@ -8,8 +8,8 @@
android:left="6dip"
android:right="6dip"
android:top="6dip" />
<corners android:radius="10dip" />
<stroke android:color="#cccccc" android:width="2dip" />
<corners android:radius="6dip" />
<stroke android:color="#cccccc" android:width="1.5dip" />
<stroke android:color="#ebebeb" />
</shape>
</item>
@ -20,8 +20,8 @@
android:left="6dip"
android:right="6dip"
android:top="6dip" />
<corners android:radius="10dip" />
<stroke android:color="#cccccc" android:width="2dip" />
<corners android:radius="6dip" />
<stroke android:color="#cccccc" android:width="1.5dip" />
<solid android:color="#ebebeb"/>
</shape>
</item>
@ -32,8 +32,8 @@
android:left="6dip"
android:right="6dip"
android:top="6dip" />
<corners android:radius="10dip" />
<stroke android:color="#cccccc" android:width="2dip" />
<corners android:radius="6dip" />
<stroke android:color="#cccccc" android:width="1.5dip" />
<solid android:color="#ffffff" />
</shape>
</item>

View file

@ -42,22 +42,14 @@
android:minLines="2"
android:scrollbars="vertical" />
<!--<com.beardedhen.androidbootstrap.BootstrapButton
android:id="@+id/decrypt_file_browse"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="4dp"
bootstrapbutton:bb_icon_left="fa-folder-open"
bootstrapbutton:bb_roundedCorners="true"
bootstrapbutton:bb_size="default"
bootstrapbutton:bb_type="default" />-->
<ImageButton
android:id="@+id/decrypt_file_browse"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="4dp"
android:src="@drawable/ic_action_collection"
android:background="@drawable/button_rounded"/>
android:background="@drawable/button_rounded"
android:layout_gravity="center_vertical"/>
</LinearLayout>
<CheckBox

View file

@ -31,15 +31,14 @@
android:minLines="2"
android:scrollbars="vertical" />
<com.beardedhen.androidbootstrap.BootstrapButton
<ImageButton
android:id="@+id/btn_browse"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="4dp"
bootstrapbutton:bb_icon_left="fa-folder-open"
bootstrapbutton:bb_roundedCorners="true"
bootstrapbutton:bb_size="default"
bootstrapbutton:bb_type="default" />
android:layout_gravity="center_vertical"
android:src="@drawable/ic_action_collection"
android:background="@drawable/button_rounded"/>
</LinearLayout>
<org.sufficientlysecure.keychain.ui.widget.FoldableLinearLayout