Improvements
This commit is contained in:
parent
fdaf41f2c9
commit
1f8707ed4f
|
@ -21,6 +21,7 @@ import android.os.Bundle;
|
||||||
import android.support.v4.content.ContextCompat;
|
import android.support.v4.content.ContextCompat;
|
||||||
import android.support.v7.widget.Toolbar;
|
import android.support.v7.widget.Toolbar;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
import android.widget.Button;
|
||||||
import android.widget.ListView;
|
import android.widget.ListView;
|
||||||
import android.widget.RelativeLayout;
|
import android.widget.RelativeLayout;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
@ -120,5 +121,13 @@ public class WhoToFollowActivity extends BaseActivity implements OnRetrieveWhoTo
|
||||||
}else{
|
}else{
|
||||||
Toast.makeText(WhoToFollowActivity.this, R.string.toast_error, Toast.LENGTH_SHORT).show();
|
Toast.makeText(WhoToFollowActivity.this, R.string.toast_error, Toast.LENGTH_SHORT).show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Button follow_accounts_select = findViewById(R.id.follow_accounts_select);
|
||||||
|
follow_accounts_select.setOnClickListener(new View.OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick(View v) {
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,6 +92,15 @@
|
||||||
android:indeterminate="true" />
|
android:indeterminate="true" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
<Button
|
||||||
|
android:id="@+id/follow_accounts_select"
|
||||||
|
android:layout_gravity="bottom|end"
|
||||||
|
android:gravity="center"
|
||||||
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
||||||
|
android:text="@string/select_all"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
/>
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/follow_accounts"
|
android:id="@+id/follow_accounts"
|
||||||
android:layout_gravity="bottom|end"
|
android:layout_gravity="bottom|end"
|
||||||
|
|
|
@ -588,6 +588,8 @@
|
||||||
<string name="how_to_follow">Who to follow</string>
|
<string name="how_to_follow">Who to follow</string>
|
||||||
<string name="action_who_to_follow_empty_content">There is no accounts listed for the moment!</string>
|
<string name="action_who_to_follow_empty_content">There is no accounts listed for the moment!</string>
|
||||||
<string name="follow_account">Follow</string>
|
<string name="follow_account">Follow</string>
|
||||||
|
<string name="select_all">Select all</string>
|
||||||
|
<string name="unselect_all">Unselect all</string>
|
||||||
|
|
||||||
|
|
||||||
<string-array translatable="false" name="proxy_type_choice">
|
<string-array translatable="false" name="proxy_type_choice">
|
||||||
|
|
Loading…
Reference in New Issue