Rename file
This commit is contained in:
parent
1ffe57ce94
commit
a619b0141a
|
@ -21,12 +21,12 @@ import android.view.LayoutInflater
|
|||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
|
||||
import im.vector.lib.ui.styles.databinding.ActivityTestMaterialThemeBinding
|
||||
import im.vector.lib.ui.styles.databinding.ActivityDebugMaterialThemeBinding
|
||||
|
||||
class DebugBottomSheet : BottomSheetDialogFragment() {
|
||||
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
|
||||
// Reuse tha Activity layout
|
||||
val binding = ActivityTestMaterialThemeBinding.inflate(inflater, container, false)
|
||||
val binding = ActivityDebugMaterialThemeBinding.inflate(inflater, container, false)
|
||||
return binding.root
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,14 +23,14 @@ import androidx.appcompat.app.AppCompatActivity
|
|||
import com.google.android.material.dialog.MaterialAlertDialogBuilder
|
||||
import com.google.android.material.snackbar.Snackbar
|
||||
import im.vector.lib.ui.styles.R
|
||||
import im.vector.lib.ui.styles.databinding.ActivityTestMaterialThemeBinding
|
||||
import im.vector.lib.ui.styles.databinding.ActivityDebugMaterialThemeBinding
|
||||
|
||||
// Rendering is not the same with VectorBaseActivity
|
||||
abstract class DebugMaterialThemeActivity : AppCompatActivity() {
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
val views = ActivityTestMaterialThemeBinding.inflate(layoutInflater)
|
||||
val views = ActivityDebugMaterialThemeBinding.inflate(layoutInflater)
|
||||
setContentView(views.root)
|
||||
|
||||
setSupportActionBar(views.debugToolbar)
|
||||
|
|
|
@ -263,6 +263,7 @@
|
|||
style="@style/DebugTextColorDemo.Black"
|
||||
android:background="?android:textColorLink"
|
||||
android:text="android:textColorLink" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
Loading…
Reference in New Issue