<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум Александра Климова — Создаём текстовый редактор]]></title>
	<link rel="self" href="http://forum.alexanderklimov.ru/extern.php?action=feed&amp;tid=29&amp;type=atom" />
	<updated>2020-01-03T11:42:11Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.alexanderklimov.ru/viewtopic.php?id=29</id>
		<entry>
			<title type="html"><![CDATA[Re: Создаём текстовый редактор]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=1172#p1172" />
			<content type="html"><![CDATA[<p>Здравствуйте. Ругается на ActionBarActivity, т.к. этот класс был объявлен устаревшим и был удален. Я его заменила на PreferenceActivity (хз, правильно или нет), но теперь у меня хоть и компилится, но не запускается приложение. На виртуальное устройство прилетает ошибка. Подскажите пожалуйста, что можно сделать, чтоб заработало?</p><p> Вопрос снимается. Не работало из-за стилей.</p>]]></content>
			<author>
				<name><![CDATA[YanaAltman]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=2005</uri>
			</author>
			<updated>2020-01-03T11:42:11Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=1172#p1172</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Создаём текстовый редактор]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=1145#p1145" />
			<content type="html"><![CDATA[<p>Не понимаю в чем проблема. Измените в нужный момент настройки, условно говоря было 1, стало 0.</p>]]></content>
			<author>
				<name><![CDATA[alexander.klimoff]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=2</uri>
			</author>
			<updated>2019-04-08T15:34:52Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=1145#p1145</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Создаём текстовый редактор]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=1144#p1144" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexander.klimoff wrote:</cite><blockquote><p>О каких пользовательских настройках и файлах идёт речь? В SharedPreferences мы можете обнулить программно все созданные вами настройки и перезагрузка не требуется.</p></blockquote></div><p>пользовательские настройки измененные в EditTextPreference вот эти настройки и надо сбросить к первоначальным , здесь используется DefaultSharedPreferences</p>]]></content>
			<author>
				<name><![CDATA[max74.syzran]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=1887</uri>
			</author>
			<updated>2019-04-08T07:43:42Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=1144#p1144</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Создаём текстовый редактор]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=1143#p1143" />
			<content type="html"><![CDATA[<p>О каких пользовательских настройках и файлах идёт речь? В SharedPreferences мы можете обнулить программно все созданные вами настройки и перезагрузка не требуется.</p>]]></content>
			<author>
				<name><![CDATA[alexander.klimoff]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=2</uri>
			</author>
			<updated>2019-04-08T05:38:32Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=1143#p1143</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Создаём текстовый редактор]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=1142#p1142" />
			<content type="html"><![CDATA[<p>Здравствуйте, скажите пожалуйста как можно сбросить установки(пользовательские настройки)?<br />Пробовал с урока &quot;SharedPreferences&quot; не получатся .(файл удаляется, после перезагрузки приложения, настройки сбрасываются) можно ли сделать без перезагрузки приложения?</p>]]></content>
			<author>
				<name><![CDATA[max74.syzran]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=1887</uri>
			</author>
			<updated>2019-04-07T19:01:44Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=1142#p1142</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Создаём текстовый редактор]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=1014#p1014" />
			<content type="html"><![CDATA[<p>Здравствуйте, спасибо за отличные уроки. Есть вопрос по PreferenceActivity. В примерах из урока, все Preferences имеют фиксированные title и summary, заданные через строковые ресурсы. Однако, очень удобно, когда на страничке настроек отображаются заданные значения для параметров, например размер выбранного шрифта. <br />У меня получилось это сделать так: при открытии PreferenceActivity, в методе onCreate, я считываю значения из SharedPreferences и отображаю их в summary соответствующих параметров. Но есть проблема, которую пока не знаю как решить: как отображать новые выбранные значения сразу после закрытия диалога изменения параметра? Сейчас у меня значения сохраняются только после выхода из PreferenceActivity и ее повторного вызова, а хотелось бы чтобы изменения сразу были видны.<br />Подскажите, пожалуйста, что нужно добавить. Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[serjy]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=1560</uri>
			</author>
			<updated>2017-12-15T14:01:33Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=1014#p1014</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Создаём текстовый редактор]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=824#p824" />
			<content type="html"><![CDATA[<p>Там же вроде используются данные из настроек, а не из другой активности. Читайте сообщения об ошибке.</p>]]></content>
			<author>
				<name><![CDATA[alexander.klimoff]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=2</uri>
			</author>
			<updated>2017-05-06T19:38:54Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=824#p824</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Создаём текстовый редактор]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=823#p823" />
			<content type="html"><![CDATA[<p>Подскажите пожалуйста.А как мы смогли изменить размер&nbsp; mEditText.setTextSize(fSize); из другой активности. Сделал все так же у меня подчеркнуто красным. Могли бы вы мне рассказать, как использовать переменные из другой активности?</p>]]></content>
			<author>
				<name><![CDATA[alexei.gra4ev]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=1464</uri>
			</author>
			<updated>2017-05-06T16:45:18Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=823#p823</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Создаём текстовый редактор]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=706#p706" />
			<content type="html"><![CDATA[<p>Сейчас метод addPreferencesFromResource() считается устаревшим и для Android 4.0 и выше следует использовать другой код. Но ничего страшного.</p><p>а какой код?</p>]]></content>
			<author>
				<name><![CDATA[a.parnekov]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=1434</uri>
			</author>
			<updated>2017-03-09T12:38:23Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=706#p706</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Создаём текстовый редактор]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=488#p488" />
			<content type="html"><![CDATA[<p>Перечитайте статью о меню. Там это есть. <a href="http://developer.alexanderklimov.ru/android/menu.php">http://developer.alexanderklimov.ru/android/menu.php</a></p>]]></content>
			<author>
				<name><![CDATA[alexander.klimoff]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=2</uri>
			</author>
			<updated>2016-04-10T14:43:04Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=488#p488</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Создаём текстовый редактор]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=487#p487" />
			<content type="html"><![CDATA[<p>Здравствуйте!<br />Android Studio ругается на android:showAsAction=&quot;never&quot;. Выдаёт следующий текст по Ctrl+F1.</p><p>Should use app:showAsAction with the appcompat library with xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot; <br />When using the appcompat library, menu resources should refer to the showAsAction in the app: namespace, not the android: namespace.&nbsp; Similarly, when not using the appcompat library, you should be using the android:showAsAction attribute.</p><p>Без этого параметра вроде работает он вроде отвечает за поведение кнопки в action bar (если я правильно понял)<br />Но всё-же как решить проблему не подскажете?</p>]]></content>
			<author>
				<name><![CDATA[Ant118]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=875</uri>
			</author>
			<updated>2016-04-10T13:37:42Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=487#p487</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Создаём текстовый редактор]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=457#p457" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>rom734 wrote:</cite><blockquote><p>можете пожалуйста привести , блок-схему или uml-диаграмму или какой-нибудь подобный алгоритм, чтобы схематично было понятно как работает программа?</p></blockquote></div><p>Это магия!</p>]]></content>
			<author>
				<name><![CDATA[alexander.klimoff]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=2</uri>
			</author>
			<updated>2016-03-20T19:41:42Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=457#p457</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Создаём текстовый редактор]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=454#p454" />
			<content type="html"><![CDATA[<p>В этом уроке не использовали. В другом использовали.</p>]]></content>
			<author>
				<name><![CDATA[alexander.klimoff]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=2</uri>
			</author>
			<updated>2016-03-20T18:57:46Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=454#p454</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Создаём текстовый редактор]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=449#p449" />
			<content type="html"><![CDATA[<p>а еще зачем в res/values/strings.xml мы добавляли цвета шрифта, если позже их нигде не используем ? (как их использовать) заранее спасибо.</p>]]></content>
			<author>
				<name><![CDATA[rom734]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=1189</uri>
			</author>
			<updated>2016-03-20T10:25:53Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=449#p449</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Создаём текстовый редактор]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=448#p448" />
			<content type="html"><![CDATA[<p>можете пожалуйста привести , блок-схему или uml-диаграмму или какой-нибудь подобный алгоритм, чтобы схематично было понятно как работает программа?</p>]]></content>
			<author>
				<name><![CDATA[rom734]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=1189</uri>
			</author>
			<updated>2016-03-20T10:14:45Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=448#p448</id>
		</entry>
</feed>
