Double Taxation when using a RelativeLayout on Android
问题 In order to understand Double Taxation on Android, I wrote the following code which is pretty simple. There is a RelativeLayout with three TextView s. <?xml version="1.0" encoding="utf-8"?> <ru.maksim.sample_app.MyRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="ru.maksim.sample_app.MainActivity"> <ru.maksim.sample_app.MyTextView