Created
April 1, 2011 14:12
-
-
Save donnfelker/898205 to your computer and use it in GitHub Desktop.
A custom Button that uses a custom font for all display.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:background="@drawable/bg_blue" | |
android:padding="0dp" > | |
<TextView | |
android:id="@+id/smokeTest" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:text="Hello World, MyActivity" | |
/> | |
<com.qonqr.views.QButton | |
android:layout_height="wrap_content" | |
android:layout_width="wrap_content" | |
android:id="@+id/foobar" | |
android:text="This is a test" | |
android:background="@drawable/orange_button" | |
android:textSize="20pt" | |
android:textColor="#FFFFFF" | |
/> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment