mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-24 01:32:16 -05:00
Improved button style
centered buttons removed commented-out button
This commit is contained in:
parent
bd44516576
commit
e731dc139f
@ -8,8 +8,8 @@
|
|||||||
android:left="6dip"
|
android:left="6dip"
|
||||||
android:right="6dip"
|
android:right="6dip"
|
||||||
android:top="6dip" />
|
android:top="6dip" />
|
||||||
<corners android:radius="10dip" />
|
<corners android:radius="6dip" />
|
||||||
<stroke android:color="#cccccc" android:width="2dip" />
|
<stroke android:color="#cccccc" android:width="1.5dip" />
|
||||||
<stroke android:color="#ebebeb" />
|
<stroke android:color="#ebebeb" />
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
@ -20,8 +20,8 @@
|
|||||||
android:left="6dip"
|
android:left="6dip"
|
||||||
android:right="6dip"
|
android:right="6dip"
|
||||||
android:top="6dip" />
|
android:top="6dip" />
|
||||||
<corners android:radius="10dip" />
|
<corners android:radius="6dip" />
|
||||||
<stroke android:color="#cccccc" android:width="2dip" />
|
<stroke android:color="#cccccc" android:width="1.5dip" />
|
||||||
<solid android:color="#ebebeb"/>
|
<solid android:color="#ebebeb"/>
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
@ -32,8 +32,8 @@
|
|||||||
android:left="6dip"
|
android:left="6dip"
|
||||||
android:right="6dip"
|
android:right="6dip"
|
||||||
android:top="6dip" />
|
android:top="6dip" />
|
||||||
<corners android:radius="10dip" />
|
<corners android:radius="6dip" />
|
||||||
<stroke android:color="#cccccc" android:width="2dip" />
|
<stroke android:color="#cccccc" android:width="1.5dip" />
|
||||||
<solid android:color="#ffffff" />
|
<solid android:color="#ffffff" />
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
|
@ -42,22 +42,14 @@
|
|||||||
android:minLines="2"
|
android:minLines="2"
|
||||||
android:scrollbars="vertical" />
|
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
|
<ImageButton
|
||||||
android:id="@+id/decrypt_file_browse"
|
android:id="@+id/decrypt_file_browse"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="4dp"
|
android:layout_margin="4dp"
|
||||||
android:src="@drawable/ic_action_collection"
|
android:src="@drawable/ic_action_collection"
|
||||||
android:background="@drawable/button_rounded"/>
|
android:background="@drawable/button_rounded"
|
||||||
|
android:layout_gravity="center_vertical"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<CheckBox
|
<CheckBox
|
||||||
|
@ -31,15 +31,14 @@
|
|||||||
android:minLines="2"
|
android:minLines="2"
|
||||||
android:scrollbars="vertical" />
|
android:scrollbars="vertical" />
|
||||||
|
|
||||||
<com.beardedhen.androidbootstrap.BootstrapButton
|
<ImageButton
|
||||||
android:id="@+id/btn_browse"
|
android:id="@+id/btn_browse"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="4dp"
|
android:layout_margin="4dp"
|
||||||
bootstrapbutton:bb_icon_left="fa-folder-open"
|
android:layout_gravity="center_vertical"
|
||||||
bootstrapbutton:bb_roundedCorners="true"
|
android:src="@drawable/ic_action_collection"
|
||||||
bootstrapbutton:bb_size="default"
|
android:background="@drawable/button_rounded"/>
|
||||||
bootstrapbutton:bb_type="default" />
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<org.sufficientlysecure.keychain.ui.widget.FoldableLinearLayout
|
<org.sufficientlysecure.keychain.ui.widget.FoldableLinearLayout
|
||||||
|
Loading…
Reference in New Issue
Block a user