Nextrek
Diff Revisions
665
vs
715
for /Android/SmartCharging/SmartCharging/app/src/main/res/layout/activity_register_locale.xml
|
@@ -139,13 +139,25 @@ |
139 |
139 |
|
android:id="@+id/avatar_container" |
140 |
140 |
|
android:layout_width="match_parent" |
141 |
141 |
|
android:layout_height="wrap_content"> |
142 |
|
- |
<it.fedeloper.smartcharging.View.RoundedImageView |
|
142 |
+ |
|
|
143 |
+ |
<com.makeramen.roundedimageview.RoundedImageView |
|
144 |
+ |
xmlns:app="http://schemas.android.com/apk/res-auto" |
143 |
145 |
|
android:layout_width="70dp" |
144 |
146 |
|
android:layout_height="70dp" |
145 |
|
- |
android:src="@drawable/avatar_placeholder" |
146 |
147 |
|
android:layout_marginRight="@dimen/space_16dp" |
147 |
148 |
|
android:id="@+id/avatarImage" |
148 |
|
- |
android:scaleType="fitCenter" /> |
|
149 |
+ |
android:src="@drawable/avatar_placeholder" |
|
150 |
+ |
app:riv_oval="true" |
|
151 |
+ |
app:riv_corner_radius="30dip" |
|
152 |
+ |
android:scaleType="centerCrop"/> |
|
153 |
+ |
<!-- --> |
|
154 |
+ |
<!--<it.fedeloper.smartcharging.View.RoundedImageView--> |
|
155 |
+ |
<!--android:layout_width="70dp"--> |
|
156 |
+ |
<!--android:layout_height="70dp"--> |
|
157 |
+ |
<!--android:src="@drawable/avatar_placeholder"--> |
|
158 |
+ |
<!--android:layout_marginRight="@dimen/space_16dp"--> |
|
159 |
+ |
<!--android:id="@+id/avatarImage"--> |
|
160 |
+ |
<!--android:scaleType="centerCrop" />--> |
149 |
161 |
|
<Button |
150 |
162 |
|
android:text="@string/seleziona_avatar" |
151 |
163 |
|
android:layout_toRightOf="@id/avatarImage" |