Update about page
This commit is contained in:
parent
0fe9f7098c
commit
a0b9ed1832
|
@ -65,16 +65,12 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
|
||||||
private List<Account> developers = new ArrayList<>();
|
private List<Account> developers = new ArrayList<>();
|
||||||
private List<Account> contributors = new ArrayList<>();
|
private List<Account> contributors = new ArrayList<>();
|
||||||
private List<Account> designers = new ArrayList<>();
|
private List<Account> designers = new ArrayList<>();
|
||||||
private List<Account> banners = new ArrayList<>();
|
|
||||||
private List<Account> uxuidesigners = new ArrayList<>();
|
private List<Account> uxuidesigners = new ArrayList<>();
|
||||||
private List<Account> support = new ArrayList<>();
|
|
||||||
|
|
||||||
private AccountSearchDevAdapter accountSearchWebAdapterDeveloper;
|
private AccountSearchDevAdapter accountSearchWebAdapterDeveloper;
|
||||||
private AccountSearchDevAdapter accountSearchWebAdapterDesigner;
|
private AccountSearchDevAdapter accountSearchWebAdapterDesigner;
|
||||||
private AccountSearchDevAdapter accountSearchWebAdapterContributors;
|
private AccountSearchDevAdapter accountSearchWebAdapterContributors;
|
||||||
private AccountSearchDevAdapter accountSearchWebAdapterBanners;
|
|
||||||
private AccountSearchDevAdapter accountSearchWebAdapterUxUiDesigners;
|
private AccountSearchDevAdapter accountSearchWebAdapterUxUiDesigners;
|
||||||
private AccountSearchDevAdapter accountSearchWebAdapterSupport;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
@ -129,9 +125,7 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
|
||||||
ExpandableHeightListView lv_developers = findViewById(R.id.lv_developers);
|
ExpandableHeightListView lv_developers = findViewById(R.id.lv_developers);
|
||||||
ExpandableHeightListView lv_designers = findViewById(R.id.lv_designers);
|
ExpandableHeightListView lv_designers = findViewById(R.id.lv_designers);
|
||||||
ExpandableHeightListView lv_contributors = findViewById(R.id.lv_contributors);
|
ExpandableHeightListView lv_contributors = findViewById(R.id.lv_contributors);
|
||||||
ExpandableHeightListView lv_banners = findViewById(R.id.lv_banners);
|
|
||||||
ExpandableHeightListView lv_ux = findViewById(R.id.lv_ux);
|
ExpandableHeightListView lv_ux = findViewById(R.id.lv_ux);
|
||||||
ExpandableHeightListView lv_support = findViewById(R.id.lv_support);
|
|
||||||
|
|
||||||
Button about_code = findViewById(R.id.about_code);
|
Button about_code = findViewById(R.id.about_code);
|
||||||
Button about_license = findViewById(R.id.about_license);
|
Button about_license = findViewById(R.id.about_license);
|
||||||
|
@ -139,11 +133,9 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
|
||||||
Button about_trunk = findViewById(R.id.about_trunk);
|
Button about_trunk = findViewById(R.id.about_trunk);
|
||||||
|
|
||||||
|
|
||||||
TextView txt_developers, txt_ux, txt_support, txt_banners, txt_designers, txt_thankyou1, txt_thankyou2;
|
TextView txt_developers, txt_ux, txt_designers, txt_thankyou1, txt_thankyou2;
|
||||||
txt_developers = findViewById(R.id.txt_developers);
|
txt_developers = findViewById(R.id.txt_developers);
|
||||||
txt_ux = findViewById(R.id.txt_ux);
|
txt_ux = findViewById(R.id.txt_ux);
|
||||||
txt_support = findViewById(R.id.txt_support);
|
|
||||||
txt_banners = findViewById(R.id.txt_banners);
|
|
||||||
txt_designers = findViewById(R.id.txt_designers);
|
txt_designers = findViewById(R.id.txt_designers);
|
||||||
txt_thankyou1 = findViewById(R.id.txt_thankyou1);
|
txt_thankyou1 = findViewById(R.id.txt_thankyou1);
|
||||||
txt_thankyou2 = findViewById(R.id.txt_thankyou2);
|
txt_thankyou2 = findViewById(R.id.txt_thankyou2);
|
||||||
|
@ -250,9 +242,7 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
|
||||||
lv_contributors.setExpanded(true);
|
lv_contributors.setExpanded(true);
|
||||||
lv_developers.setExpanded(true);
|
lv_developers.setExpanded(true);
|
||||||
lv_designers.setExpanded(true);
|
lv_designers.setExpanded(true);
|
||||||
lv_banners.setExpanded(true);
|
|
||||||
lv_ux.setExpanded(true);
|
lv_ux.setExpanded(true);
|
||||||
lv_support.setExpanded(true);
|
|
||||||
|
|
||||||
accountSearchWebAdapterContributors = new AccountSearchDevAdapter(AboutActivity.this, contributors);
|
accountSearchWebAdapterContributors = new AccountSearchDevAdapter(AboutActivity.this, contributors);
|
||||||
lv_contributors.setAdapter(accountSearchWebAdapterContributors);
|
lv_contributors.setAdapter(accountSearchWebAdapterContributors);
|
||||||
|
@ -260,18 +250,12 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
|
||||||
lv_designers.setAdapter(accountSearchWebAdapterDesigner);
|
lv_designers.setAdapter(accountSearchWebAdapterDesigner);
|
||||||
accountSearchWebAdapterDeveloper = new AccountSearchDevAdapter(AboutActivity.this, developers);
|
accountSearchWebAdapterDeveloper = new AccountSearchDevAdapter(AboutActivity.this, developers);
|
||||||
lv_developers.setAdapter(accountSearchWebAdapterDeveloper);
|
lv_developers.setAdapter(accountSearchWebAdapterDeveloper);
|
||||||
accountSearchWebAdapterBanners = new AccountSearchDevAdapter(AboutActivity.this, banners);
|
|
||||||
lv_banners.setAdapter(accountSearchWebAdapterBanners);
|
|
||||||
accountSearchWebAdapterUxUiDesigners = new AccountSearchDevAdapter(AboutActivity.this, uxuidesigners);
|
accountSearchWebAdapterUxUiDesigners = new AccountSearchDevAdapter(AboutActivity.this, uxuidesigners);
|
||||||
lv_ux.setAdapter(accountSearchWebAdapterUxUiDesigners);
|
lv_ux.setAdapter(accountSearchWebAdapterUxUiDesigners);
|
||||||
accountSearchWebAdapterSupport = new AccountSearchDevAdapter(AboutActivity.this, support);
|
|
||||||
lv_support.setAdapter(accountSearchWebAdapterSupport);
|
|
||||||
|
|
||||||
if( MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.MASTODON || MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.PLEROMA ) {
|
if( MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.MASTODON || MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.PLEROMA ) {
|
||||||
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "fedilab", "framapiaf.org", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "fedilab", "framapiaf.org", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "mmarif", "mastodon.social", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "mmarif", "mastodon.social", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "guzzisti", "mastodon.social", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
|
||||||
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "NateLikesSheep", "mastodon.art", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
|
||||||
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "kasun", "mastodon.social", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "kasun", "mastodon.social", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "PhotonQyv", "mastodon.xyz", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "PhotonQyv", "mastodon.xyz", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "angrytux", "social.tchncs.de", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
new RetrieveRemoteDataAsyncTask(getApplicationContext(), "angrytux", "social.tchncs.de", AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
|
@ -296,36 +280,6 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
|
||||||
Helper.openBrowser(AboutActivity.this, "https://mastodon.social/@mmarif");
|
Helper.openBrowser(AboutActivity.this, "https://mastodon.social/@mmarif");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
name = new SpannableString("@guzzisti@mastodon.social");
|
|
||||||
name.setSpan(new UnderlineSpan(), 0, name.length(), 0);
|
|
||||||
txt_support.setText(name);
|
|
||||||
txt_support.setVisibility(View.VISIBLE);
|
|
||||||
txt_support.setOnClickListener(new View.OnClickListener() {
|
|
||||||
@Override
|
|
||||||
public void onClick(View v) {
|
|
||||||
Helper.openBrowser(AboutActivity.this, "https://mastodon.social/@guzzisti");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
name = new SpannableString("@NateLikesSheep@mastodon.art");
|
|
||||||
name.setSpan(new UnderlineSpan(), 0, name.length(), 0);
|
|
||||||
txt_banners.setText(name);
|
|
||||||
txt_banners.setVisibility(View.VISIBLE);
|
|
||||||
txt_banners.setOnClickListener(new View.OnClickListener() {
|
|
||||||
@Override
|
|
||||||
public void onClick(View v) {
|
|
||||||
Helper.openBrowser(AboutActivity.this, "https://mastodon.art/@NateLikesSheep");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
name = new SpannableString("@kasun@mastodon.social");
|
|
||||||
name.setSpan(new UnderlineSpan(), 0, name.length(), 0);
|
|
||||||
txt_designers.setText(name);
|
|
||||||
txt_designers.setVisibility(View.VISIBLE);
|
|
||||||
txt_designers.setOnClickListener(new View.OnClickListener() {
|
|
||||||
@Override
|
|
||||||
public void onClick(View v) {
|
|
||||||
Helper.openBrowser(AboutActivity.this, "https://mastodon.social/@kasun");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
name = new SpannableString("@PhotonQyv@mastodon.xyz");
|
name = new SpannableString("@PhotonQyv@mastodon.xyz");
|
||||||
name.setSpan(new UnderlineSpan(), 0, name.length(), 0);
|
name.setSpan(new UnderlineSpan(), 0, name.length(), 0);
|
||||||
txt_thankyou1.setText(name);
|
txt_thankyou1.setText(name);
|
||||||
|
@ -379,14 +333,6 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
|
||||||
developers.add(account);
|
developers.add(account);
|
||||||
accountSearchWebAdapterDeveloper.notifyDataSetChanged();
|
accountSearchWebAdapterDeveloper.notifyDataSetChanged();
|
||||||
break;
|
break;
|
||||||
case "guzzisti":
|
|
||||||
support.add(account);
|
|
||||||
accountSearchWebAdapterSupport.notifyDataSetChanged();
|
|
||||||
break;
|
|
||||||
case "NateLikesSheep":
|
|
||||||
banners.add(account);
|
|
||||||
accountSearchWebAdapterBanners.notifyDataSetChanged();
|
|
||||||
break;
|
|
||||||
case "kasun":
|
case "kasun":
|
||||||
designers.add(account);
|
designers.add(account);
|
||||||
accountSearchWebAdapterDesigner.notifyDataSetChanged();
|
accountSearchWebAdapterDesigner.notifyDataSetChanged();
|
||||||
|
@ -418,11 +364,6 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
|
||||||
new RetrieveRelationshipAsyncTask(getApplicationContext(), account.getId(),AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
new RetrieveRelationshipAsyncTask(getApplicationContext(), account.getId(),AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if( banners != null){
|
|
||||||
for(Account account: banners){
|
|
||||||
new RetrieveRelationshipAsyncTask(getApplicationContext(), account.getId(),AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if( contributors != null){
|
if( contributors != null){
|
||||||
for(Account account: contributors){
|
for(Account account: contributors){
|
||||||
new RetrieveRelationshipAsyncTask(getApplicationContext(), account.getId(),AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
new RetrieveRelationshipAsyncTask(getApplicationContext(), account.getId(),AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
|
@ -433,11 +374,6 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
|
||||||
new RetrieveRelationshipAsyncTask(getApplicationContext(), account.getId(),AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
new RetrieveRelationshipAsyncTask(getApplicationContext(), account.getId(),AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if( support != null){
|
|
||||||
for(Account account: support){
|
|
||||||
new RetrieveRelationshipAsyncTask(getApplicationContext(), account.getId(),AboutActivity.this).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -461,13 +397,6 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for( int i = 0 ; i < banners.size() ; i++){
|
|
||||||
if( banners.get(i).getId() != null && banners.get(i).getId().equals(relationship.getId())){
|
|
||||||
banners.get(i).setFollowing(relationship.isFollowing() || userId.trim().equals(relationship.getId()));
|
|
||||||
accountSearchWebAdapterBanners.notifyDataSetChanged();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for( int i = 0 ; i < contributors.size() ; i++){
|
for( int i = 0 ; i < contributors.size() ; i++){
|
||||||
if( contributors.get(i).getId() != null && contributors.get(i).getId().equals(relationship.getId())){
|
if( contributors.get(i).getId() != null && contributors.get(i).getId().equals(relationship.getId())){
|
||||||
contributors.get(i).setFollowing(relationship.isFollowing() || userId.trim().equals(relationship.getId()));
|
contributors.get(i).setFollowing(relationship.isFollowing() || userId.trim().equals(relationship.getId()));
|
||||||
|
@ -482,12 +411,5 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for( int i = 0 ; i < support.size() ; i++){
|
|
||||||
if( support.get(i).getId() != null && support.get(i).getId().equals(relationship.getId())){
|
|
||||||
support.get(i).setFollowing(relationship.isFollowing() || userId.trim().equals(relationship.getId()));
|
|
||||||
accountSearchWebAdapterSupport.notifyDataSetChanged();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,8 @@ package app.fedilab.android.asynctasks;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
|
import android.util.Log;
|
||||||
|
|
||||||
import java.lang.ref.WeakReference;
|
import java.lang.ref.WeakReference;
|
||||||
|
|
||||||
import app.fedilab.android.client.API;
|
import app.fedilab.android.client.API;
|
||||||
|
@ -55,6 +57,7 @@ public class RetrieveRemoteDataAsyncTask extends AsyncTask<Void, Void, Void> {
|
||||||
@Override
|
@Override
|
||||||
protected Void doInBackground(Void... params) {
|
protected Void doInBackground(Void... params) {
|
||||||
API api = new API(this.contextReference.get());
|
API api = new API(this.contextReference.get());
|
||||||
|
Log.v(Helper.TAG,"url: " + this.url);
|
||||||
APIResponse apiResponse = api.search(this.url);
|
APIResponse apiResponse = api.search(this.url);
|
||||||
if( apiResponse.getResults() != null)
|
if( apiResponse.getResults() != null)
|
||||||
results = apiResponse.getResults();
|
results = apiResponse.getResults();
|
||||||
|
|
|
@ -152,28 +152,6 @@
|
||||||
android:layout_marginRight="150dp"
|
android:layout_marginRight="150dp"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content" />
|
||||||
<!-- About Help desk -->
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/about_thanks_support"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical|center_horizontal"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:gravity="center_vertical|center_horizontal"
|
|
||||||
android:padding="5dp"
|
|
||||||
android:text="@string/thanks_text_support"
|
|
||||||
android:textColor="?colorAccent"
|
|
||||||
android:textSize="16sp" />
|
|
||||||
|
|
||||||
<app.fedilab.android.helper.ExpandableHeightListView
|
|
||||||
android:id="@+id/lv_support"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical|center_horizontal"
|
|
||||||
android:layout_marginLeft="150dp"
|
|
||||||
android:layout_marginRight="150dp"
|
|
||||||
android:divider="@null"
|
|
||||||
android:scrollbars="none" />
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/txt_support"
|
android:id="@+id/txt_support"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
@ -183,27 +161,7 @@
|
||||||
android:layout_marginRight="150dp"
|
android:layout_marginRight="150dp"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content" />
|
||||||
<!-- About banner designer -->
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/about_thanks_banner"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical|center_horizontal"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:padding="5dp"
|
|
||||||
android:text="@string/thanks_text_banner"
|
|
||||||
android:textColor="?colorAccent"
|
|
||||||
android:textSize="16sp"/>
|
|
||||||
|
|
||||||
<app.fedilab.android.helper.ExpandableHeightListView
|
|
||||||
android:id="@+id/lv_banners"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical|center_horizontal"
|
|
||||||
android:layout_marginLeft="150dp"
|
|
||||||
android:layout_marginRight="150dp"
|
|
||||||
android:divider="@null"
|
|
||||||
android:scrollbars="none"/>
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/txt_banners"
|
android:id="@+id/txt_banners"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
|
|
@ -139,25 +139,6 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
<!-- About Help desk -->
|
|
||||||
<TextView
|
|
||||||
android:padding="5dp"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:id="@+id/about_thanks_support"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:textColor="?colorAccent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:textSize="16sp"
|
|
||||||
android:text="@string/thanks_text_support"/>
|
|
||||||
|
|
||||||
<app.fedilab.android.helper.ExpandableHeightListView
|
|
||||||
android:id="@+id/lv_support"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:scrollbars="none"
|
|
||||||
android:divider="@null"/>
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/txt_support"
|
android:id="@+id/txt_support"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
@ -165,31 +146,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
<!-- About banner designer -->
|
|
||||||
<TextView
|
|
||||||
android:padding="5dp"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:id="@+id/about_thanks_banner"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:textColor="?colorAccent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:textSize="16sp"
|
|
||||||
android:text="@string/thanks_text_banner"/>
|
|
||||||
|
|
||||||
<app.fedilab.android.helper.ExpandableHeightListView
|
|
||||||
android:id="@+id/lv_banners"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:scrollbars="none"
|
|
||||||
android:divider="@null"/>
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/txt_banners"
|
|
||||||
android:visibility="gone"
|
|
||||||
android:textSize="16sp"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content" />
|
|
||||||
<!-- About logo designer -->
|
<!-- About logo designer -->
|
||||||
<TextView
|
<TextView
|
||||||
android:padding="5dp"
|
android:padding="5dp"
|
||||||
|
|
Loading…
Reference in New Issue