Created
October 10, 2015 10:46
-
-
Save orfeomorello/f01f456d970f54cc1358 to your computer and use it in GitHub Desktop.
Example of activity_main.xml for app using https://github.com/Bearded-Hen/Android-Bootstrap
This file contains hidden or 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
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
xmlns:components="http://schemas.android.com/apk/res-auto" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:paddingLeft="@dimen/activity_horizontal_margin" | |
android:paddingRight="@dimen/activity_horizontal_margin" | |
android:paddingTop="@dimen/activity_vertical_margin" | |
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"> | |
<TextView android:text="Hello World" android:layout_width="wrap_content" | |
android:layout_height="wrap_content" /> | |
<com.beardedhen.androidbootstrap.AwesomeTextView | |
style="@style/wrapping_fa_text" | |
android:textSize="30dp" | |
app:bootstrapBrand="primary" | |
app:bootstrapText="Share on {fa_facebook} with a {fa_thumbs_o_up}" | |
tools:ignore="SpUsage" | |
/> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment