mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 14:35:03 +01:00
Crash fix
This commit is contained in:
parent
e8cc3bdd3c
commit
ef2b368b65
3 changed files with 7 additions and 4 deletions
|
@ -80,7 +80,7 @@ android {
|
|||
defaultConfig {
|
||||
minSdkVersion 8
|
||||
targetSdkVersion 19
|
||||
versionCode 362
|
||||
versionCode 363
|
||||
versionName "1.9.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,6 @@ import android.util.AttributeSet;
|
|||
import android.util.TypedValue;
|
||||
import android.view.Gravity;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
|
||||
|
@ -26,7 +25,6 @@ public class SettingsSectionLayout extends LinearLayout {
|
|||
private TextView textView;
|
||||
|
||||
private void init() {
|
||||
setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT));
|
||||
setOrientation(LinearLayout.VERTICAL);
|
||||
|
||||
textView = new TextView(getContext());
|
||||
|
@ -76,6 +74,11 @@ public class SettingsSectionLayout extends LinearLayout {
|
|||
init();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
||||
super.onMeasure(widthMeasureSpec, MeasureSpec.makeMeasureSpec(MeasureSpec.getSize(heightMeasureSpec), MeasureSpec.UNSPECIFIED));
|
||||
}
|
||||
|
||||
public void setText(String text) {
|
||||
textView.setText(text);
|
||||
}
|
||||
|
|
|
@ -252,7 +252,7 @@
|
|||
<string name="AskAQuestionInfo">Bedenke bitte, dass der Telegram Support von einem ehrenamtlichen Team betreut wird. Wir versuchen so schnell wie möglich zu antworten, dies kann jedoch manchmal ein bisschen dauern.<![CDATA[<br><br>]]>Bitte schau auch in den <![CDATA[<a href=\"http://telegram.org/faq/de\">Fragen und Antworten </a>]]> nach. Dort findest du Antworten auf die meisten Fragen und wichtige Tipps zur <![CDATA[<a href=\"https://telegram.org/faq/de#problembehandlung\">Problembehandlung</a>]]>.</string>
|
||||
<string name="AskButton">Frage einen Freiwilligen</string>
|
||||
<string name="TelegramFaq">Fragen und Antworten</string>
|
||||
<string name="TelegramFaqUrl">https://telegram.org/faq/ko</string>
|
||||
<string name="TelegramFaqUrl">https://telegram.org/faq/de</string>
|
||||
<string name="DeleteLocalization">Lokalisierung löschen?</string>
|
||||
<string name="IncorrectLocalization">Falsche Sprachdatei</string>
|
||||
<string name="Enabled">Aktiviert</string>
|
||||
|
|
Loading…
Reference in a new issue