Last active
September 28, 2016 00:31
-
-
Save heitorcolangelo/7f483ee332c02ed9a7a804ac4998f2ac to your computer and use it in GitHub Desktop.
Layout login activity - adding progress view
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
<!-- | |
login_image | |
login_username | |
login_password | |
login_button | |
--> | |
<LinearLayout | |
android:id="@+id/progress_view" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerInParent="true" | |
android:gravity="center_horizontal" | |
android:orientation="vertical" | |
android:visibility="gone" | |
tools:visibility="visible"> | |
<ProgressBar | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
style="@android:style/Widget.DeviceDefault.ProgressBar" /> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@string/loading" /> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment