Moved setting of call transfer title string from code to layour
This commit is contained in:
@@ -1374,8 +1374,6 @@ class MainActivity : AppCompatActivity() {
|
|||||||
val layout = LayoutInflater.from(this)
|
val layout = LayoutInflater.from(this)
|
||||||
.inflate(R.layout.call_transfer_dialog, findViewById(android.R.id.content),
|
.inflate(R.layout.call_transfer_dialog, findViewById(android.R.id.content),
|
||||||
false)
|
false)
|
||||||
val titleView = layout.findViewById(R.id.title) as TextView
|
|
||||||
titleView.text = getString(R.string.call_transfer)
|
|
||||||
val transferUri = layout.findViewById(R.id.transferUri) as AutoCompleteTextView
|
val transferUri = layout.findViewById(R.id.transferUri) as AutoCompleteTextView
|
||||||
transferUri.setAdapter(ArrayAdapter(this, android.R.layout.select_dialog_item,
|
transferUri.setAdapter(ArrayAdapter(this, android.R.layout.select_dialog_item,
|
||||||
Contact.contactNames()))
|
Contact.contactNames()))
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
android:paddingStart="?dialogPreferredPadding"
|
android:paddingStart="?dialogPreferredPadding"
|
||||||
android:paddingEnd="?dialogPreferredPadding"
|
android:paddingEnd="?dialogPreferredPadding"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp"
|
||||||
|
android:text="@string/call_transfer"
|
||||||
android:textColor="@color/colorPrimary" />
|
android:textColor="@color/colorPrimary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
|||||||
Reference in New Issue
Block a user