mirror of
https://github.com/FatttSnake/OxygenToolbox.git
synced 2026-04-06 07:21:29 +08:00
Optimized component id.
This commit is contained in:
@@ -59,7 +59,7 @@ public class MainActivity extends BaseActivityNormal {
|
|||||||
imageViewSwap = findViewById(R.id.image_view_swap);
|
imageViewSwap = findViewById(R.id.image_view_swap);
|
||||||
textViewLanguageTo = findViewById(R.id.text_view_language_to);
|
textViewLanguageTo = findViewById(R.id.text_view_language_to);
|
||||||
editTextFrom = findViewById(R.id.edit_text_from);
|
editTextFrom = findViewById(R.id.edit_text_from);
|
||||||
textViewTo = findViewById(R.id.edit_text_to);
|
textViewTo = findViewById(R.id.text_view_to);
|
||||||
imageViewTranslate = findViewById(R.id.image_view_translate);
|
imageViewTranslate = findViewById(R.id.image_view_translate);
|
||||||
progressBarInTranslation = findViewById(R.id.progress_bar_in_translation);
|
progressBarInTranslation = findViewById(R.id.progress_bar_in_translation);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/edit_text_to"
|
android:id="@+id/text_view_to"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/tool_translation_edit_text_view_height"
|
android:layout_height="@dimen/tool_translation_edit_text_view_height"
|
||||||
android:layout_margin="@dimen/tool_translation_layout_margin"
|
android:layout_margin="@dimen/tool_translation_layout_margin"
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/background_round"
|
android:background="@drawable/background_round"
|
||||||
android:padding="@dimen/tool_translation_clickable_padding"
|
android:padding="@dimen/tool_translation_clickable_padding"
|
||||||
app:layout_constraintBottom_toTopOf="@id/edit_text_to"
|
app:layout_constraintBottom_toTopOf="@id/text_view_to"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/edit_text_from">
|
app:layout_constraintTop_toBottomOf="@id/edit_text_from">
|
||||||
|
|||||||
Reference in New Issue
Block a user