depois do ollama
This commit is contained in:
@@ -37,7 +37,7 @@ public class DefinicoesActivity extends AppCompatActivity {
|
|||||||
private Button btnSaveSettings;
|
private Button btnSaveSettings;
|
||||||
private EditText etUsername;
|
private EditText etUsername;
|
||||||
private Switch switchNotifications;
|
private Switch switchNotifications;
|
||||||
private Spinner spinnerCurrency;
|
|
||||||
|
|
||||||
private ImageView ivProfilePicture;
|
private ImageView ivProfilePicture;
|
||||||
private TextView tvChangePhoto;
|
private TextView tvChangePhoto;
|
||||||
@@ -63,7 +63,7 @@ public class DefinicoesActivity extends AppCompatActivity {
|
|||||||
btnSaveSettings = findViewById(R.id.btnSaveSettings);
|
btnSaveSettings = findViewById(R.id.btnSaveSettings);
|
||||||
etUsername = findViewById(R.id.etUsername);
|
etUsername = findViewById(R.id.etUsername);
|
||||||
switchNotifications = findViewById(R.id.switchNotifications);
|
switchNotifications = findViewById(R.id.switchNotifications);
|
||||||
spinnerCurrency = findViewById(R.id.spinnerCurrency);
|
|
||||||
|
|
||||||
ivProfilePicture = findViewById(R.id.ivProfilePicture);
|
ivProfilePicture = findViewById(R.id.ivProfilePicture);
|
||||||
tvChangePhoto = findViewById(R.id.tvChangePhoto);
|
tvChangePhoto = findViewById(R.id.tvChangePhoto);
|
||||||
|
|||||||
@@ -149,33 +149,6 @@
|
|||||||
android:checked="true" />
|
android:checked="true" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="1dp"
|
|
||||||
android:background="#E0E0E0"
|
|
||||||
android:layout_marginVertical="12dp" />
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="Moeda Base"
|
|
||||||
android:textColor="@color/preto"
|
|
||||||
android:textSize="16sp" />
|
|
||||||
|
|
||||||
<Spinner
|
|
||||||
android:id="@+id/spinnerCurrency"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="40dp"
|
|
||||||
android:background="@drawable/rounded_input_bg"
|
|
||||||
android:entries="@array/moedas_array" />
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<!-- Extras Section -->
|
<!-- Extras Section -->
|
||||||
|
|||||||
@@ -5,5 +5,22 @@
|
|||||||
<!-- <item name="colorPrimary">@color/my_light_primary</item> -->
|
<!-- <item name="colorPrimary">@color/my_light_primary</item> -->
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Theme.LifeGrid" parent="Base.Theme.LifeGrid" />
|
<style name="Theme.LifeGrid" parent="Base.Theme.LifeGrid">
|
||||||
|
<item name="android:spinnerItemStyle">@style/SpinnerItemStyle</item>
|
||||||
|
<item name="android:spinnerDropDownItemStyle">@style/SpinnerDropDownItemStyle</item>
|
||||||
|
<item name="android:spinnerStyle">@style/SpinnerStyle</item>
|
||||||
|
<item name="spinnerStyle">@style/SpinnerStyle</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="SpinnerStyle" parent="@android:style/Widget.Spinner">
|
||||||
|
<item name="android:popupBackground">@color/branco</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="SpinnerItemStyle" parent="@android:style/Widget.TextView.SpinnerItem">
|
||||||
|
<item name="android:textColor">@color/preto</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="SpinnerDropDownItemStyle" parent="@android:style/Widget.DropDownItem.Spinner">
|
||||||
|
<item name="android:textColor">@color/preto</item>
|
||||||
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
Reference in New Issue
Block a user