blob: 2bd464b4233a33e7e1e8bfd86c18aa5d09ad8880 [file] [log] [blame]
Svetoslavbf3391f2013-04-15 12:20:39 -07001<!--
2 Copyright (C) 2013 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16<LinearLayout
17 xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="wrap_content"
19 android:layout_height="wrap_content"
20 android:baselineAligned="false"
21 android:padding="16dip">
22
23 <ImageView
24 android:id="@+id/user_photo"
25 android:layout_width="56dip"
26 android:layout_height="56dip"
27 android:layout_gravity="bottom"
Fabrice Di Meglioade57612014-09-10 13:12:25 -070028 android:contentDescription="@string/user_image_photo_selector"
Svetoslavbf3391f2013-04-15 12:20:39 -070029 android:background="@*android:drawable/spinner_background_holo_dark"
30 android:scaleType="fitCenter"/>
31
32 <EditText
33 android:id="@+id/user_name"
34 android:layout_width="0dip"
35 android:layout_height="wrap_content"
36 android:layout_gravity="bottom"
37 android:layout_weight="1"
38 android:layout_marginStart="6dp"
Edgar Wang9a2d3482019-12-27 15:35:34 +080039 android:minHeight="@dimen/min_tap_target_size"
Svetoslavbf3391f2013-04-15 12:20:39 -070040 android:ellipsize="end"
41 android:singleLine="true"
42 android:textAppearance="?android:attr/textAppearanceMedium"
43 android:textAlignment="viewStart"
Svetoslavbf3391f2013-04-15 12:20:39 -070044 android:inputType="text|textCapWords"
45 android:selectAllOnFocus="true"
Jason Chiuca2bbc02019-07-09 16:49:36 +080046 android:hint="@string/user_nickname"
47 android:maxLength="100"/>
Svetoslavbf3391f2013-04-15 12:20:39 -070048
49</LinearLayout>