Improvements

This commit is contained in:
stom79 2018-09-11 17:50:04 +02:00
parent fdaf41f2c9
commit 1f8707ed4f
3 changed files with 20 additions and 0 deletions

View File

@ -21,6 +21,7 @@ import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.Button;
import android.widget.ListView;
import android.widget.RelativeLayout;
import android.widget.Toast;
@ -120,5 +121,13 @@ public class WhoToFollowActivity extends BaseActivity implements OnRetrieveWhoTo
}else{
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) {
}
});
}
}

View File

@ -92,6 +92,15 @@
android:indeterminate="true" />
</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
android:id="@+id/follow_accounts"
android:layout_gravity="bottom|end"

View File

@ -588,6 +588,8 @@
<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="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">