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

@@ -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