main.xml 1.8 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. This file is part of Zandy.
  4. Zandy is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU Affero General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. Zandy is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU Affero General Public License for more details.
  12. You should have received a copy of the GNU Affero General Public License
  13. along with Zandy. If not, see <http://www.gnu.org/licenses/>.
  14. -->
  15. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  16. android:orientation="vertical" android:layout_width="fill_parent"
  17. android:layout_height="fill_parent"
  18. android:id="@+id/main">
  19. <TextView android:id="@+id/welcome" android:textAppearance="?android:attr/textAppearanceLarge"
  20. android:text="@string/applicationTitle" android:layout_height="wrap_content" android:padding="3dip" android:textStyle="bold" android:gravity="center_horizontal" android:layout_width="match_parent"/>
  21. <Button android:id="@+id/collectionButton" android:layout_height="wrap_content"
  22. android:text="@string/view_collections" android:layout_width="match_parent" android:layout_weight="0.30"></Button>
  23. <Button android:id="@+id/itemButton" android:layout_height="wrap_content"
  24. android:text="@string/view_items" android:layout_width="match_parent" android:layout_weight="0.30"></Button>
  25. <Button android:id="@+id/loginButton" android:layout_height="wrap_content"
  26. android:text="@string/log_in" android:layout_width="match_parent" android:layout_weight="0.10"></Button>
  27. </LinearLayout>