account_action.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. ownCloud Android client application
  4. Copyright (C) 2016 ownCloud Inc.
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License version 2,
  7. as published by the Free Software Foundation.
  8. This program 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 General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. -->
  15. <LinearLayout
  16. xmlns:android="http://schemas.android.com/apk/res/android"
  17. android:layout_width="fill_parent"
  18. android:layout_height="72dp"
  19. android:orientation="horizontal"
  20. android:weightSum="1">
  21. <ImageView
  22. android:id="@+id/user_icon"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:layout_gravity="center_vertical"
  26. android:layout_marginLeft="20dp"
  27. android:src="@drawable/ic_account_plus"/>
  28. <TextView
  29. android:id="@+id/user_name"
  30. android:layout_width="0dp"
  31. android:layout_height="fill_parent"
  32. android:layout_marginLeft="28dp"
  33. android:layout_weight="1"
  34. android:gravity="center_vertical"
  35. android:paddingRight="@dimen/standard_padding"
  36. android:text="@string/placeholder_filename"
  37. android:textColor="@color/primary"
  38. android:textSize="@dimen/two_line_primary_text_size"/>
  39. </LinearLayout>