From: masensio Date: Tue, 18 Mar 2014 13:43:34 +0000 (+0100) Subject: Merge branch 'develop' into remove_refresh_of_shares_in_full_sync X-Git-Tag: oc-android-1.5.5~5^2~3^2~5 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/0d2c764638508f696b0e3a76aa936a9279d9f5c6?hp=d150299b1c50ada0e03a13940665d6c491367e45 Merge branch 'develop' into remove_refresh_of_shares_in_full_sync --- diff --git a/res/values-en-rGB/strings.xml b/res/values-en-rGB/strings.xml index 720220d5..e40c01d2 100644 --- a/res/values-en-rGB/strings.xml +++ b/res/values-en-rGB/strings.xml @@ -208,6 +208,8 @@ To: Signature: Algorithm: + The certificate could not be shown. + - No information about the error This is a placeholder placeholder.txt PNG Image diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index a7f76f5b..26c00a10 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -28,10 +28,10 @@ - - diff --git a/src/com/owncloud/android/ui/CheckBoxPreferenceWithLongTitle.java b/src/com/owncloud/android/ui/CheckBoxPreferenceWithLongTitle.java new file mode 100644 index 00000000..bcde48d6 --- /dev/null +++ b/src/com/owncloud/android/ui/CheckBoxPreferenceWithLongTitle.java @@ -0,0 +1,45 @@ +/* ownCloud Android client application + * Copyright (C) 2011 Bartek Przybylski + * Copyright (C) 2012-2013 ownCloud Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2, + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ +package com.owncloud.android.ui; +import android.content.Context; +import android.util.AttributeSet; +import android.view.View; +import android.widget.TextView; +import android.preference.CheckBoxPreference; + +public class CheckBoxPreferenceWithLongTitle extends CheckBoxPreference{ + + public CheckBoxPreferenceWithLongTitle(Context context) { + super(context); + } + + public CheckBoxPreferenceWithLongTitle(Context context, AttributeSet attrs) { + super(context, attrs); + } + public CheckBoxPreferenceWithLongTitle(Context context, AttributeSet attrs, int defStyle) { + super(context, attrs, defStyle); + } + + @Override + protected void onBindView(View view) { + super.onBindView(view); + TextView titleView = (TextView) view.findViewById(android.R.id.title); + titleView.setSingleLine(false); + titleView.setMaxLines(3); + } +} \ No newline at end of file