пытаюсь добавить разметку для прогресс бара, такое:
                  
                  
                  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                  
                  
                      xmlns:tools="http://schemas.android.com/tools"
                  
                  
                      android:id="@+id/loading"
                  
                  
                      android:layout_width="wrap_content"
                  
                  
                      android:layout_height="wrap_content"
                  
                  
                      android:alpha="0.8"
                  
                  
                      android:background="?attr/app_color_text"
                  
                  
                      android:visibility="visible"
                  
                  
                      tools:visibility="visible"
                  
                  
                      tools:showIn="@layout/fragment_payment_list">
                  
                  
                  
                  
                  
                      <ProgressBar
                  
                  
                          android:layout_width="wrap_content"
                  
                  
                          android:layout_height="wrap_content"
                  
                  
                          android:layout_gravity="center" />
                  
                  
                  
                  
                  
                  </LinearLayout>
                  
                  
                  
                  
                  
                  добавляю как-то так:
                  
                  
                  <include
                  
                  
                      layout="@layout/layout_loading"
                  
                  
                      android:visibility="visible"
                  
                  
                      />
                  
                  
                  
                  
                  
                  вот пока я добавляю visivility - это лэйаут показывается, без него - нет
                  
                  
                
через альфу, не?
Обсуждают сегодня